home *** CD-ROM | disk | FTP | other *** search
- * Reads information about the capacity of the
- * logical unit.
-
- @THREAD READCAP.LOG
- @NEWALIAS SADD SCSIADD.GRA
- @IMPORT SCSICOM.SCR
- SADD DD_OPEN
-
- * 0=Async mode, 1=Sync mode
- SADD SET MODE=1
-
- * Command completion timeout (Secs)
- * 0=the assigned value is the default set by the driver,
- * -1=the assigned value is infinite.
- SADD SET TIMEOUT=0
-
- * 0 = indicates that the logical block address field
- * specifies the first logical block of the range of
- * logical blocks to be operated on by this command.
- * 1 = indicates that the logical block address field is
- * a two's complement displacement. This -ve or +ve
- * displacement shall be added to the logical block
- * address last accessed on the logical unit to form the
- * logical block address for this command.
- SADD SET ADDR_MODE=0
-
- * 32bit starting logical block addr
- *SADD SET LOGICAL_BLOCK_ADDR =
-
- * Name for paramblock
- SADD SET LABEL = "READ CAPACITY"
-
- SADD READCAPACITY
-
- SADD DD_CLOSE
-